package com.yfh.data.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.yfh.data.base.entity.BaseEntity;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 商品分类表(Classification)表实体类
 *
 * @author makejava
 * @since 2022-09-10 08:45:17
 */
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
public class Classification extends BaseEntity implements Serializable{
    //主键
    @TableId(type = IdType.AUTO)
    private Integer id;
    //父级id
    private Integer pid;
    //分类名称
    private String cName;
    //商品分类级别
    private Integer type;


}
